package hafnium.bukkit.util.sign;

import org.bukkit.event.block.SignChangeEvent;

public class EventSignText extends SignText {
	private final SignChangeEvent event;
	
	public EventSignText(SignChangeEvent event) {
		this.event = event;
	}
	
	@Override
	public String getLine(int lineIndex) {
		return event.getLine(lineIndex);
	}

	@Override
	public void setLine(int lineIndex, String text) {
		this.event.setLine(lineIndex, text);
	}
}
